@charset "utf-8";
/* 灯笼主体部分 */
.toplabs-lantern-box {
    position: fixed;
    pointer-events: none;
    transform-origin: 50% -100px;
    -webkit-transform-origin: 50% -100px;
}
/* 第一灯笼 */
.toplabs-lantern-box-first {
    top: 0;
    right: 60px;
    z-index: 9999;
    -webkit-animation: swing 5s infinite ease-in-out;
    animation: swing 5s infinite ease-in-out;
}
/* 第二灯笼 */
.toplabs-lantern-box-second {
    top: -10px;
    right: 30px;
    z-index: 9998;
    animation: swing 3s infinite ease-in-out;
    -webkit-animation: swing 3s infinite ease-in-out;
}
/* 灯笼线 */
.toplabs-lantern-line {
    margin: auto;
    width: 2px;
    height: 20px;
    background: #dc8f03;
}
/* 灯笼的笼子 */
.toplabs-lantern-cage {
    position: relative;
    width: 120px;
    height: 90px;
    background: #d8000f;
    background: rgba(216, 0, 15, 0.8);
    border-radius: 50% 50%;
}
/* 第一个灯笼的笼子 */
.toplabs-lantern-box-first .toplabs-lantern-cage {
    box-shadow: -5px 5px 30px 4px rgba(252, 144, 61, 1);
}
/* 第二个灯笼的笼子 */
.toplabs-lantern-box-second .toplabs-lantern-cage {
    box-shadow: -5px 5px 50px 4px rgba(250, 108, 0, 1);
}
/* 灯笼的笼子线 */
.toplabs-lantern-cage-line {
    height: 90px;
    background: #d8000f;
    background: rgba(216, 0, 15, 0.1);
    border-radius: 50%;
    border: 2px solid #dc8f03;
}
/* 灯笼的笼子线a */
.toplabs-lantern-cage-line-a {
    width: 100px;
    margin: auto;
}
/* 灯笼的笼子线b */
.toplabs-lantern-cage-line-b {
    width: 60px;
    margin: -2px auto auto;
}
/* 灯笼穗子 */
.toplabs-lantern-ear {
    animation: swing 4s infinite ease-in-out;
    -webkit-animation: swing 4s infinite ease-in-out;
    transform-origin: 50% -45px;
    -webkit-transform-origin: 50% -45px;
}
/* 灯笼穗子线 */
.toplabs-lantern-ear-a {
    position: relative;
    width: 5px;
    height: 20px;
    margin: auto;
    background: #ffa500;
    border-radius: 0 0 5px 5px;
    z-index: 80;
}
/* 灯笼穗子块 */
.toplabs-lantern-ear-b {
    position: relative;
    width: 10px;
    height: 10px;
    margin: -4px auto -10px;
    background: #dc8f03;
    border-radius: 50%;
    z-index: 90;
}
/* 灯笼穗子须 */
.toplabs-lantern-ear-c {
    position: relative;
    width: 10px;
    height: 35px;
    margin: auto;
    background: #ffa500;
    border-radius: 5px 5px 0 0;
    z-index: 80;
}
/* 灯笼的上下盖 */
.toplabs-lantern-cage:before, .toplabs-lantern-cage:after {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 12px;
    width: 60px;
    content: " ";
    display: block;
    border: solid 1px #dc8f03;
    background: #ffa500;
    background: linear-gradient(to right, #dc8f03, #ffa500, #dc8f03, #ffa500, #dc8f03);
    z-index: 90;
}
/* 灯笼的上盖 */
.toplabs-lantern-cage:before {
    border-radius: 5px 5px 0 0;
}
/* 灯笼的下盖 */
.toplabs-lantern-cage:after {
    border-radius: 0 0 5px 5px;
}
/* 灯笼里面的文字 */
.toplabs-lantern-cage-t {
    font-family: "华文行楷", Arial, Lucida Grande, Tahoma, sans-serif;
    font-size: 3.2rem;
    color: #dc8f03;
    font-weight: bold;
    line-height: 90px;
    margin-top: -2px;
    text-align: center;
}
/* 暗黑主题时的样式 */
.tl-night .toplabs-lantern-cage-t, .tl-night .toplabs-lantern-box {
    background: transparent !important;
}
/* 自定义动画 */
@keyframes swing {
    0% {
        transform: rotate(-10deg)
    }
    50% {
        transform: rotate(10deg)
    }
    100% {
        transform: rotate(-10deg)
    }
}
@-moz-keyframes swing {
    0% {
        -moz-transform: rotate(-10deg)
    }
    50% {
        -moz-transform: rotate(10deg)
    }
    100% {
        -moz-transform: rotate(-10deg)
    }
}
@-webkit-keyframes swing {
    0% {
        -webkit-transform: rotate(-10deg)
    }
    50% {
        -webkit-transform: rotate(10deg)
    }
    100% {
        -webkit-transform: rotate(-10deg)
    }
}